home *** CD-ROM | disk | FTP | other *** search
/ Language/OS - Multiplatform Resource Library / LANGUAGE OS.iso / et / et-2_2.lha / et2.2 / src / PictPort.h < prev    next >
C/C++ Source or Header  |  1990-11-28  |  748b  |  31 lines

  1. #ifndef PictPort_First
  2. #ifdef __GNUG__
  3. #pragma once
  4. #endif
  5. #define PictPort_First
  6.  
  7. #include "PrintPort.h"
  8.  
  9. class PictPort: public PrintPort {    
  10. protected:
  11.     class Picture *pict;
  12.     
  13. public:
  14.     MetaDef(PictPort);
  15.     PictPort(Picture*);
  16.     ~PictPort();
  17.     
  18.     Picture *GetPicture()
  19.     { return pict; }
  20.     void DevStrokeLine(int, Rectangle*, GrLineCap, Point, Point);
  21.     bool DevShowChar(FontPtr fdp, Point delta, byte c, bool isnew, Point pos);
  22.     void DrawObject(char, Rectangle*, Point, int, GrLineCap);
  23.     void DevShowTextBatch(Rectangle *r, Point);
  24.     void DevShowBitmap(Rectangle*, class Bitmap*);
  25.     void DevSetPattern(class DevBitmap*);
  26.     bool DevSetColor(class RGBColor*);
  27.     void DevSetOther(int);
  28. };
  29.  
  30. #endif PictPort_First
  31.